﻿<?xml version="1.0" encoding="utf-8"?>
<Mapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Entity type="Evaluant:Uss:Workflow:CompletedScope" table="CompletedScope">
    <Id field="completedScopeId">
      <Generator name="guid" />
    </Id>
    <Attribute name="UidInstanceId" table="CompletedScope" field="uidInstanceId" db-type="Guid" size="0" scale="0" precision="0" not-null="false" />
    <Attribute name="State" table="CompletedScope" field="state" db-type="Binary" size="0" scale="0" precision="0" not-null="false" />
    <Attribute name="Modified" table="CompletedScope" field="modified" db-type="DateTime" size="0" scale="0" precision="0" not-null="false" />
  </Entity>
  
  <Entity type="Evaluant:Uss:Workflow:InstanceState" table="InstanceState">
    <Id field="uidInstanceId">
      <Generator name="guid" />
    </Id>
    <Attribute name="OwnerId" table="InstanceState" field="ownerId" db-type="Guid" size="0" scale="0" precision="0" not-null="false" />
    <Attribute name="State" table="InstanceState" field="state" db-type="Binary" size="0" scale="0" precision="0" not-null="false" />
    <Attribute name="Unlocked" table="InstanceState" field="unlocked" db-type="Int32" size="0" scale="0" precision="0" not-null="false" />
    <Attribute name="Blocked" table="InstanceState" field="blocked" db-type="Int32" size="0" scale="0" precision="0" not-null="false" />
    <Attribute name="Info" table="InstanceState" field="info" db-type="String" size="0" scale="0" precision="0" not-null="false" />
    <Attribute name="Modified" table="InstanceState" field="modified" db-type="DateTime" size="0" scale="0" precision="0" not-null="false" />
    <Attribute name="OwnedUntil" table="InstanceState" field="ownedUntil" db-type="DateTime" size="0" scale="0" precision="0" not-null="false" />
    <Attribute name="NextTimer" table="InstanceState" field="nextTimer" db-type="DateTime" size="0" scale="0" precision="0" not-null="false" />
  </Entity>
</Mapping>